<template>
  <div id="app">
   <transition name="fade" mode="out-in">
    <router-view></router-view>
  </transition>
  <tab-bar v-show="isMainView"></tab-bar>
  </div>
</template>

<script>
import tabbar from './components/common/tabbar'
export default {
  name: 'App',
  data() {
    return {

    }
  },
  computed: {
    isMainView() {
      return this.$route.name === 'NewsIndex' || this.$route.name === 'QuestionsIndex' || this.$route.name === 'RecruitIndex' || this.$route.name === 'SpecialColumnIndex' || this.$route.name === 'MemberIndex'
    }
  },
  components: {
    'tab-bar': tabbar
  },
}
</script>

<style lang="scss" scoped>

</style>
